﻿using System.Collections.Generic;
using System.Linq;
namespace Xc.DataAccess.Protocoals.WaterMeters.Models.Requests
{
    /// <summary>
    /// 写关阀
    /// </summary>
    public class SetCloseValveRequest : MeterFrameTxBase
    {
        internal protected override DataSegment DataSegment => DataSegment.CloseValve;

       internal protected override FrameCommand Cmd => FrameCommand.CMD2A;

        protected override void GetDataArea(List<byte> vs)
        {
            vs.Add(0x99);
            vs.AddRange(Enumerable.Repeat<byte>(0,2));
        }
    }
}
